package Mangos::DB::Mangos::PlayerLevelstats;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'player_levelstats',

    columns => 
    [
        race  => { type => 'integer', not_null => 1 },
        class => { type => 'integer', not_null => 1 },
        level => { type => 'integer', not_null => 1 },
        str   => { type => 'integer', not_null => 1 },
        agi   => { type => 'integer', not_null => 1 },
        sta   => { type => 'integer', not_null => 1 },
        inte  => { type => 'integer', not_null => 1 },
        spi   => { type => 'integer', not_null => 1 },
    ],

    primary_key_columns => [ 'race', 'class', 'level' ],
);

1;

package Mangos::DB::Mangos::PlayerLevelstats::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::PlayerLevelstats' }

__PACKAGE__->make_manager_methods('player_levelstats');

1;
